package com.zzyl.constant;

public class CacheConstants {

    public static final String RESOURCE = "resource:";

    public static final String LIST = RESOURCE + "list";
    public static final String TREE = RESOURCE + "tree";

    public static final String PUBLIC_ACCESS_URLS = "user:public_access_urls:";
    public static final String ALL_PRODUCT_KEY = "iot:all_product";
    public static final String DEVICE_LASTDATA_CACHE_KEY = "iot:iot_id";

    /**
     * 报警规则连续触发次数，缓存前缀
     */
    public static final String ALERT_TRIGGER_COUNT_PREFIX = "alert_trigger_count:";
    /**
     * 报警规则沉默周期，缓存前缀
     */
    public static final String ALERT_SILENT_PREFIX = "alert_silent:";
}
